package application;
	
import java.sql.ResultSet;
import java.io.*;
import java.sql.*;

import studysystem.db.MySQLConnector;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.stage.Stage;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.scene.control.Pagination;
import javafx.scene.layout.BorderPane;
import javafx.scene.layout.Pane;
import studysystem.db.DBTest;



public class Main extends Application {
	public static String id;
	public static String name;
	@Override
	public void start(Stage primaryStage) {
		DBTest.run();
		//
		try {
			//DBTest.run();
			Parent root = FXMLLoader.load(getClass().getResource("/application/Login.fxml"));
			
	
			Scene scene = new Scene(root);
			primaryStage.setTitle("C Programming Language");
			scene.getStylesheets().add(getClass().getResource("application.css").toExternalForm());
			
			primaryStage.setScene(scene);
			primaryStage.show();
		} catch(Exception e) {
			e.printStackTrace();
		}
	};
	
	

}
